<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>车辆信息</title>
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/metro/easyui.css">
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/icon.css">
    <script src="/static/js/plugins/jquery-easyui/jquery.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/jquery.easyui.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/system/carInfo.js"></script>
</head>
<body>
<table id="carInfo_datagrid"></table>
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="edits()">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="reload()">刷新</a>

    <input class="easyui-textbox" type="text" name="keyword" id="keyword" prompt="车主/车辆品牌"/>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="query()">查询</a>
</div>
<div id="my_dialog">
    <form id="editForm" method="post" style="padding:40px 0px 0px 35px;">
        <input type="hidden" id="deptId" name="id">
        <table style="border-collapse: separate;border-spacing: 20px;">
            <tr>
                <td >车主姓名:</td>
                <td><input class="easyui-textbox" type="text" name="username" /></td>
            </tr>
            <tr>
                <td >车牌号码:</td>
                <td><input class="easyui-textbox" type="text" name="carnum"/></td>
            </tr>
            <tr>
                <td >购买日期:</td>
                <td><input class="easyui-textbox" type="text" name="purchasedate"/></td>
            </tr>
            <tr>
                <td >车俩品牌:</td>
                <td><input class="easyui-combobox" type="text" name="car.id"
                           data-options="valueField:'id',textField:'carname',url:'/car/queryCar',panelHeight:'auto'"
                /></td>
            </tr>
        </table>
    </form>
</div>
<div id="bb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" onclick="save()">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" onclick="cancel()">取消</a>
</div>
</body>
</html>
